package view;

import dao.UserDao;
import dao.impl.UserDaoImpl;
import pojo.User;

import java.util.List;

public class test1 {
    private static UserDao userDao=new UserDaoImpl();

    public static void main(String[] args) {
        List<User> userList= userDao.findAll();
        userList.forEach(System.out::println);
    }
}
